<style>
    .column_options li {
        display: inline-block;
        width: 200px;
        margin-right: 10px;
        margin-bottom: 3px;
    }
    
    .column_options li label {
        font-weight: normal;
    }
    
    #change_category_dialog {
        width: 600px;
        top: 20px;
    }
</style>

<div id="change_category_dialog" class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal">&times;</button>
            <h4 class="modal-title">Change Category</h4>
            <p class="text-sm">Choose the new category to change this membership to.</p>
        </div>
        <div class="modal-body">
            <div class="form-group">
                <div class="col-lg-4 control-label">Choose New Category</div>
                <div class="col-lg-8 controls">
                    <select id="category_list" class="form-control">
                        <option value="">Select Category</option>

                        <?php foreach($categories as $category) { ?>
                            <option value="<?php echo $category['category']['id']; ?>"><?php echo $category['category']['name']; ?></option>
                        <?php } ?>
                    </select>
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <a href="<?php echo $this->Html->url(array('action' => 'change_category')); ?>" class="btn btn-sm btn-info" id="change_category_btn">Change Category</a>
            <a href="#" class="btn btn-sm btn-white" data-dismiss="modal">Cancel</a>
        </div>
    </div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->